//
//  YJTrainingTableViewCell.swift
//  yuejian
//
//  Created by 闫子夜 on 2017/10/24.
//  Copyright © 2017年 gyy. All rights reserved.
//

import UIKit

class YJTrainingTableViewCell: UITableViewCell {
    var training:YJTrainingModel!
    
    @IBOutlet weak var training_name: UITextField!
    
    @IBOutlet weak var thumbb: UIImageView!
    
    
    class func creatCell(_ tableView:UITableView)->YJTrainingTableViewCell{
        var cell = tableView.dequeueReusableCell(withIdentifier: "YJTrainingTableViewCell")
        if cell == nil{
            cell = (Bundle.main.loadNibNamed("YJTrainingTableViewCell", owner: nil, options: nil))?.first as! YJTrainingTableViewCell
        }
        return cell as! YJTrainingTableViewCell
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
        
        // Configure the view for the selected state
    }
    
}

